package com.qf.service;

import com.qf.dto.PageDto;
import com.qf.dto.TbComputerDto;
import com.qf.pojo.TbComputer;

import java.text.ParseException;
import java.util.List;

public interface TbComputerService {
    public void addComputer(TbComputerDto dto) throws ParseException;

    public void delComputer(Long comId);

    public void updateComputer(TbComputerDto dto)throws ParseException;

    public TbComputerDto findById(Long comId);

    public List<TbComputerDto> findByLike(String comModel);

    //分页插件
    public List<TbComputerDto> findBypage(PageDto pageDto);
}
